package com.xlf.book.biz.impl;

import com.xlf.book.biz.BookTypeBiz;
import com.xlf.book.dao.BookTypeDao;
import com.xlf.book.dao.impl.BookTypeDaoImpl;
import com.xlf.book.po.BookType;

import java.util.List;

/**
 * @author xie'lin'feng
 * @date 2020-07-20-16:25
 * @description 图书类型业务逻辑接口实现类
 */
public class BookTypeBizImpl implements BookTypeBiz {
    BookTypeDao btd = new BookTypeDaoImpl();
    @Override
    public List<BookType> queryAll() {
        return btd.queryAll();
    }

    @Override
    public BookType queryById(Integer typeId) {
        return btd.queryById(typeId);
    }
}
